import axios from '@/libs/api.request'

  // 一周销售
  export const _chartsDay = (param) => {
    return axios.request({
      url: 'index/chartsDay',
      params: param,
      method: 'get'
    })
  }


  // 统计
  export const _count = (param) => {
    return axios.request({
      url: 'index/count',
      params: param,
      method: 'get'
    })
  }

  // 占比
  export const _pie = (param) => {
    return axios.request({
      url: 'index/pie',
      params: param,
      method: 'get'
    })
  }